<div class="subNavi">
	<ul id="crumb">
		<li class="first">您所在位置：</li>
		<li><a href='<?php echo MENU_TAB_A_PATH?>'><?php echo MENU_TAB_A_NAME?></a></li>
		
	<?php if (url_contains("frontend")):?>
	
		<?php if (url_contains("association/about")):?>
		<li class="last"><?php echo MENU_TAB_B_NAME?></li>
		<?php endif;?>
		
		<?php if (url_contains("society/society_festival")):?>
		<li class="last"><?php echo MENU_TAB_C_NAME?></li>
		<?php endif;?>
		
		<?php if (url_contains("association/news_list")):?>
		<li class="last"><?php echo MENU_TAB_D_NAME?></li>
		<?php elseif (url_contains("association/news_detail")):?>
		<li><a href='<?php echo MENU_TAB_D_PATH?>'><?php echo MENU_TAB_D_NAME?></a></li>
		<li class="last">正文</li>
		<?php endif;?>
		
		<?php if (url_contains("society/news_list")):?>
			<?php if (!isset($search_author)):?>
			<li class="last"><?php echo MENU_TAB_E_NAME?></li>
			<?php else :?>
			<li><a href='<?php echo SOCIETY_NEWS_LIST_PATH . '0-' . $url_array[1]?>'><?php echo MENU_TAB_E_NAME?></a></li>
			<li class="last"><?php echo $search_author?></li>
			<?php endif;?>
		<?php elseif (url_contains("society/news_detail")):?>
		<li><a href='<?php echo MENU_TAB_E_PATH?>'><?php echo MENU_TAB_E_NAME?></a></li>
		<li><a href='<?php echo SOCIETY_NEWS_LIST_PATH . $news_detail['author_id']?>-0'><?php echo $news_detail['author_name']?></a></li>
		<li class="last">正文</li>
		<?php endif;?>
		
		<?php if (url_contains("society/society_list")):?>
		<li class="last"><?php echo MENU_TAB_F_NAME?></li>
		<?php endif;?>
		<?php if (url_contains("society/home")):?>
		<li><a href='<?php echo MENU_TAB_F_PATH?>'><?php echo MENU_TAB_F_NAME?></a></li>
		<li class="last"><?php echo $society['s_name']?></li>
		<?php endif;?>
		
		<?php if (url_contains("register")):?>
		<li class="last">用户注册</li>
		<?php elseif (url_contains("login")):?>
		<li class="last">用户登录</li>
		<?php endif;?>

	<?php elseif (url_contains("backend")):?>
		<?php if (url_contains("society")):?>
		<li><a href='<?php echo BACKEND_SOCIETY_PATH?>'>社团后台</a></li>
			<?php if (url_contains("update_info")):?>
			<li class="last">社团信息修改</li>			
			<?php elseif (url_contains("show_change_password")):?>
			<li class="last">修改登录密码</li>
			<?php elseif (url_contains("show_change_email")):?>
			<li class="last">修改电子邮箱</li>
			<?php endif;?>
			
			<?php if (url_contains("news")):?>
				<?php if (url_contains("lists")):?>
				<li class="last">新闻列表</li>
				<?php elseif (url_contains("edit")):?>
				<li><a href='<?php echo BACKEND_SOCIETY_NEWS_LIST_PATH?>'>新闻列表</a></li>
				<li class="last">新闻管理</li>
				<?php elseif (url_contains("preview")):?>
				<li><a href='<?php echo BACKEND_SOCIETY_NEWS_LIST_PATH?>'>新闻列表</a></li>
				<li class="last">新闻预览</li>
				<?php endif;?>
			<?php elseif (url_contains("announcement")):?>
				<?php if (url_contains("lists")):?>
				<li class="last">公告列表</li>
				<?php elseif (url_contains("edit")):?>
				<li><a href='<?php echo BACKEND_SOCIETY_ANNOUNCEMENT_LIST_PATH?>'>公告列表</a></li>
				<li class="last">公告管理</li>
				<?php elseif (url_contains("preview")):?>
				<li><a href='<?php echo BACKEND_SOCIETY_ANNOUNCEMENT_LIST_PATH?>'>公告列表</a></li>
				<li class="last">公告预览</li>
				<?php endif;?>
			<?php endif;?>
			
			<?php if (url_contains("upload")):?>
			<li class="last"><?php echo $photo_c_name?>管理</li>
			<?php endif;?>
		
		<?php elseif (url_contains("association")):?>
		<li><a href='<?php echo BACKEND_ASSOCIATION_PATH?>'><?php echo $sidebar_info['department_name'];?>后台</a></li>
			<?php if (url_contains("update_info")):?>
			<li class="last">个人信息修改</li>			
			<?php elseif (url_contains("show_change_password")):?>
			<li class="last">修改登录密码</li>
			<?php elseif (url_contains("show_change_email")):?>
			<li class="last">修改电子邮箱</li>
			<?php endif;?>
			
			<?php if (url_contains("news")):?>
				<?php if (url_contains("lists")):?>
				<li class="last">新闻列表</li>
				<?php elseif (url_contains("edit")):?>
				<li><a href='<?php echo BACKEND_ASSOCIATION_NEWS_LIST_PATH?>'>新闻列表</a></li>
				<li class="last">新闻管理</li>
				<?php elseif (url_contains("preview")):?>
				<li><a href='<?php echo BACKEND_ASSOCIATION_NEWS_LIST_PATH?>'>新闻列表</a></li>
				<li class="last">新闻预览</li>
				<?php endif;?>
			<?php elseif (url_contains("announcement")):?>
				<?php if (url_contains("lists")):?>
				<li class="last">公告列表</li>
				<?php elseif (url_contains("edit")):?>
				<li><a href='<?php echo BACKEND_ASSOCIATION_ANNOUNCEMENT_LIST_PATH?>'>公告列表</a></li>
				<li class="last">公告管理</li>
				<?php elseif (url_contains("preview")):?>
				<li><a href='<?php echo BACKEND_ASSOCIATION_ANNOUNCEMENT_LIST_PATH?>'>公告列表</a></li>
				<li class="last">公告预览</li>
				<?php endif;?>
			<?php endif;?>
			
			<?php if (url_contains("association/verify/index")):?>
			<li class="last">社团初审</li>
			<?php endif;?>
			
			<?php if (url_contains("employee/manage")):?>
			<li class="last">社联成员管理</li>
			<?php endif;?>
			
		<?php elseif (url_contains("teacher")):?>
		<li><a href='<?php echo BACKEND_TEACHER_PATH?>'>指导老师后台</a></li>
			<?php if (url_contains("update_info")):?>
			<li class="last">个人信息修改</li>			
			<?php elseif (url_contains("show_change_password")):?>
			<li class="last">修改登录密码</li>
			<?php elseif (url_contains("show_change_email")):?>
			<li class="last">修改电子邮箱</li>
			<?php endif;?>
		<?php endif;?>
		
	<?php endif;?>
	</ul>
</div>